import json

from config import BDSE_PATH


def read_data(path):
    new_list=[]
    with open(BDSE_PATH+path,encoding="utf8") as f:
       data_list = json.load(f)
       for datas in data_list:
          new_list.append(tuple(datas.values()))
    return new_list